<template>
    <div>
      <rx-radio label="优雅" cvalue="优雅" v-model="smya" @change="onRadioChange"/>
      <br>
      <rx-radio label="高雅" cvalue="高雅"  v-model="smya" @change="onRadioChange"><span class="slot">插槽</span></rx-radio>
      <br>
      <rx-radio label="你点不动我"  v-model="smya" :disabled="true" @change="onRadioChange" />
      <br>
     smya: {{smya}}
  </div>
</template>

<script>
  export default {
    data(){
     return {
      smya:'优雅'
     }
    },
    methods:{
      onRadioChange(nval){
       console.log(nval);
      }
    }
  }
</script>
<style>
.slot{
  color: green;
}
</style>
